package com.flask.colorpicker.cameralibrary.view;

import ohos.agp.components.surfaceprovider.SurfaceProvider;
import ohos.media.image.ImageReceiver;
import ohos.media.image.PixelMap;

/**
 * Camera View
 */
public interface CameraView {
    void resetState(int type);

    void confirmState(int type);

    void showPicture(PixelMap bitmap, boolean isVertical);
    void stopVideo();

    void handlerFoucs(float x, float y);

    SurfaceProvider getSurfaceProvider();

    ImageReceiver getImageReceiver();
}
